@charset "utf-8";


//rem换算函数
@function r($px){
    @return ($px/40)*1rem; 
}

//减半函数
@function half($px){
    @return ($px/2)*1px;
}

body{
    background-image: url(../img/bg1.jpg);
    background-size: cover;
}

#card_game{
    //游戏界面
    #index_menu_show{
        height: 81vh;
        width: 60vw;
        background-color: rgba(11,11,11,0.3);
        margin-left: 20vw;
          //选择等级
        .Lv{
            width: 60vw;
            margin-top: 2vh;
            button{
                width:15vw;
                height: 7vh;
                line-height: 4vh;
                margin-left: 50%;
                transform: translateX(-50%);
                font-size: half(60);
            }
        }
        .switchLv{
            width: 60vw;
            text-align: center;
            font-size: half(100);
            color: white;
            margin-top: 10vh;
            padding-top: 3vh;
        }
    }
}


